html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  height: 100%;
  overflow: hidden;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Tooltip 样式优化 - 确保长文本能够完整显示 */
.ant-tooltip {
  max-width: 500px !important;
}

.ant-tooltip-inner {
  max-width: 500px;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  text-align: left;
  line-height: 1.5;
  padding: 8px 12px;
}
